id
routing/id
Type: Directory
Global Router ID election configuration. The Router ID can be configured explicitly or elected from one of the router's IP addresses.
For each VRF table, RouterOS adds a dynamic ID instance that elects the Router ID from one of the IP addresses in that VRF:
[admin@rack1_b33_CCR1036] /routing/id> print
Flags: D - DYNAMIC, I - INACTIVE
Columns: NAME, DYNAMIC-ID, SELECT-DYNAMIC-ID, SELECT-FROM-VRF
# NAME DYNAMIC-ID SELECT-D SELE
0 D main 111.111.111.2 only-vrf main
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| I | inactive | If there was a problem getting a valid ID, then the item can become inactive. |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| id ( unset ) | ipAddr | Router ID to set explicitly. If the Router ID is not set, RouterOS can elect it from one of the configured IP addresses. See select-dynamic-id and select-from-vrf. |
| select-dynamic-id ( unset ) | ubit (any, only-static, only-loopback, only-vrf, only-active, lowest) | Select which IP addresses RouterOS uses for Router ID election:
|
| select-from-vrf ( unset ) | enum | VRF from which to select IP addresses for the ID election. |
| Read-only Argument | Type | Description |
|---|---|---|
| dynamic-id | ipAddr | Currently selected ID. |